<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="layui/css/layui.css"/>
    <link rel="stylesheet" href="css/lunbo.css"/>
    <script src="layui/layui.js"></script>
    <script src="js/navbar.js"></script>
    <link rel="stylesheet" href="layui/css/layui.css"/>
    <script src="layui/layui.js"></script>
    <script src="js/layui.js"></script>
    <script src="js/navbar.js"></script>
</head>

<body>
<div id="item">
    <!--导航栏-->
    <ul class="layui-nav layui-bg-blue layui-fluid" style="text-align:center;  height: 60px;  width: 100% auto;"
        lay-filter="">
        <li class="layui-nav-item ">
            <a th:href="@{/index.html}">网站首页</a>
        </li>

        <li class="layui-nav-item ">
            <a th:href="@{/second/jgsz.html}">
                组织机构
            </a>
            <dl class="layui-nav-child">
                <!-- 二级菜单 -->
                <dd>
                    <a th:href="@{/second/jgsz.html}" th:text="机构设置" ></a>
                </dd>
                <dd>
                    <a th:href="@{/second/gzzz.html}" th:text="工作职责" ></a>
                </dd>
            </dl>
        </li>
        <li class="layui-nav-item">
            <a th:href="@{'/display/'+${session.rsglList.get(0).cid}}" th:if="not ${session.rsglList.isEmpty()}">
                人事管理
            </a>
            <dl class="layui-nav-child">
                <!-- 二级菜单 -->
                <dd th:each="rsgl:${session.rsglList}">
                    <a th:href="@{'/display/'+${rsgl.cid}}" th:text="${rsgl.cname}"></a>
                </dd>
            </dl>
        </li>
        <li class="layui-nav-item">
            <a th:href="@{'/display/'+${session.szxxList.get(0).cid}}" th:if="not ${session.szxxList.isEmpty()}">
                师资信息
            </a>
            <dl class="layui-nav-child">
                <!-- 二级菜单 -->
                <dd th:each="szxx:${session.szxxList}">
                    <a th:href="@{'/display/'+${szxx.cid}}" th:if="not ${szxx.cname.equals('人才队伍')}"
                       th:text="${szxx.cname}"></a>
                </dd>
                <dd th:each="szxx:${session.szxxList}">
                    <a th:href="@{'/display/talent/'+${szxx.cid}}" th:if="${szxx.cname.equals('人才队伍')}"
                       th:text="${szxx.cname}"></a>
                </dd>
            </dl>
        </li>
        <li class="layui-nav-item">
            <a th:href="@{'/display/'+${session.lzglList.get(0).cid}}" th:if="not ${session.lzglList.isEmpty()}">
                劳资管理
            </a>
            <dl class="layui-nav-child">
                <!-- 二级菜单 -->
                <dd th:each="lzgl:${session.lzglList}">
                    <a th:href="@{'/display/'+${lzgl.cid}}" th:text="${lzgl.cname}"></a>
                </dd>
            </dl>
        </li>
        <li class="layui-nav-item">
            <a th:href="@{'/display/'+${session.zcycgList.get(0).cid}}" th:if="not ${session.zcycgList.isEmpty()}">
                职称与出国
            </a>
            <dl class="layui-nav-child">
                <!-- 二级菜单 -->
                <dd th:each="zcycg:${session.zcycgList}">
                    <a th:href="@{'/display/'+${zcycg.cid}}" th:text="${zcycg.cname}"></a>
                </dd>
            </dl>
        </li>
        <li class="layui-nav-item">
            <a th:href="@{'/display/'+${session.bshglList.get(0).cid}}" th:if="not ${session.bshglList.isEmpty()}">
                博士后管理
            </a>
        </li>
        <li class="layui-nav-item">
            <a th:href="@{'/display/'+${session.sdsfjsList.get(0).cid}}" th:if="not ${session.sdsfjsList.isEmpty()}">
                师德师风建设
            </a>
            <dl class="layui-nav-child">
                <!-- 二级菜单 -->
                <dd th:each="sdsfjs:${session.sdsfjsList}">
                    <a th:href="@{'/display/'+${sdsfjs.cid}}" th:text="${sdsfjs.cname}"></a>
                </dd>
            </dl>
        </li>
        <li class="layui-nav-item">
            <a th:href="@{'/display/'+${session.fwznList.get(0).cid}}" th:if="not ${session.fwznList.isEmpty()}">
                服务指南
            </a>
        </li>
        <li class="layui-nav-item">
            <a th:href="@{'/display/'+${session.zcfgList.get(0).cid}}" th:if="not ${session.zcfgList.isEmpty()}">
                政策管理
            </a>
        </li>
        <li class="layui-nav-item">
            <a th:href="@{'/display/download/'+${session.xzzxList.get(0).cid}}" th:if="not ${session.xzzxList.isEmpty()}">
                下载中心
            </a>
            <dl class="layui-nav-child">
                <!-- 二级菜单 -->
                <dd th:each="xzzx:${session.xzzxList}">
                    <a th:href="@{'/display/download/'+${xzzx.cid}}" th:text="${xzzx.cname}"></a>
                </dd>
                <!--th:text="${#strings.substringBefore(dName,'（')}"-->
            </dl>
        </li>
    </ul>
</div>
</body>

</html>